.loading-wrapper {
  width: 100px;
  height: 60px;
  position: relative;

  div {
    position: absolute;
    top: 75px;
    font-size: 20px;
    left: 15%;
  }
}

.loading-circle {
  width: 20px;
  height: 20px;
  position: absolute;
  border-radius: 50%;
  left: 10%;
  transform-origin: 50%;
  animation: circle 0.5s alternate infinite ease;
  background-color: var(--ant-color-primary);

  &:nth-child(2) {
    left: 40%;
    animation-delay: 0.2s;
  }

  &:nth-child(3) {
    left: auto;
    right: 10%;
    animation-delay: 0.3s;
  }
}

.loading-shadow {
  width: 20px;
  height: 4px;
  border-radius: 50%;
  background-color: rgb(0 0 0 / 50%);
  position: absolute;
  top: 62px;
  transform-origin: 50%;

  /* z-index: -1; */
  left: 15%;
  filter: blur(1px);
  animation: shadow 0.5s alternate infinite ease;

  &:nth-child(4) {
    left: 45%;
    animation-delay: 0.2s;
  }

  &:nth-child(5) {
    left: auto;
    right: 15%;
    animation-delay: 0.3s;
  }
}

@keyframes circle {
  0% {
    top: 60px;
    height: 5px;
    border-radius: 50px 50px 25px 25px;
    transform: scaleX(1.7);
  }

  40% {
    height: 20px;
    border-radius: 50%;
    transform: scaleX(1);
  }

  100% {
    top: 0%;
  }
}

@keyframes shadow {
  0% {
    transform: scaleX(1.5);
  }

  40% {
    transform: scaleX(1);
    opacity: 0.7;
  }

  100% {
    transform: scaleX(0.2);
    opacity: 0.4;
  }
}
